const api = {
  hyOrder: {
    get: "hy/remote/order/get",
    page: "hy/remote/order/page",
    save: "hy/remote/order/save",
    syncOrder: "hy/order/syncOrder"

  },
  hyOrderDetail: {
    queryHyOrderDetailList: "hy/remote/order/queryHyOrderDetailList"
  },
  hyOrderOut: {
    get: "hy/remote/out/order/get",
    page: "hy/remote/out/order/page"
  },
  hyOrderDetailOut: {
    queryHyOrderDetailList: "hy/remote/out/order/queryOutHyOrderDetailList"
  },
  busOrder: {
    page: "bus/order/page",
    list: "bus/order/list",
    get: "bus/order/get",
    add: "bus/order/save",
    update: "bus/order/update",
    getPrintInfo: "bus/order/getPrintInfo",
    updatePrintTag: "bus/order/updatePrintTag",
    remove: "bus/order/remove",
    customBondType: [{ label: "全款", value: 0 }, { label: "底价", value: 1 }, { label: "税金", value: 3 }, {
      label: "底价+税金",
      value: 2
    }, { label: "底价/2+税金", value: 6 }, { label: "全额资信", value: 5 }, { label: "预付款", value: 7 }],
    supplierBondType: [{ label: "不垫付", value: 0 }, { label: "底价", value: 1 }, {
      label: "税金",
      value: 3
    }, { label: "底价+税金", value: 2 }, { label: "底价/2+税金", value: 6 }, {
      label: "全额垫付",
      value: 5
    }/*, { label: '销售金额*费率', value: 8 }*/],
    invoiceSendType: [{ label: "货票同行", value: 1 }, { label: "单独邮寄", value: 2 }],
    errorType: [{ label: "发货金额!=开票金额", value: 1 }, { label: "应结算!=已结算", value: 2 }, {
      label: "应结算2!=已结算2",
      value: 3
    }, { label: "应返款!=已返款", value: 4 }, { label: "应收保证金!=已退保证金", value: 5 }, {
      label: "应垫付!=已垫付",
      value: 6
    }, { label: "已垫付!=已退垫付", value: 7 }],
    returnType: [{ label: "按数量", value: 1 }, { label: "按金额", value: 2 }],
    refundState: [{ label: "未返款", value: 0 }, { label: "已开票", value: 1 }, { label: "已返款", value: 2 }]
  },
  //订单明细
  bod: {
    page: "bus/bod/page",
    list: "bus/bod/list",
    returnList: "bus/bod/returnList",
    get: "bus/bod/get",
    discount: "bus/bod/discount",
    selectOrderInfoDetails: "bus/bod/selectOrderInfoDetails",
    updateLotNo: "bus/bod/updateLotNo",
    clearExportData: "bus/bod/clearExportData",
    addOrderDetails: "bus/bod/addOrderDetails",
    chaiFen: "bus/bod/chaiFen",
    updateHuikuan: 'bus/bod/updateHuikuan',
    addReturn: "bus/bod/addReturn",
    deleteTuibu: "bus/bod/deleteTuibu",
    deleteReturn: "bus/bod/deleteReturn",
    add: "bus/bod/save",
    update: "bus/bod/update",
    revoke: "bus/bod/revoke",
    exportUrl: "bus/bod/export",
    exportSettleDetails: "bus/bod/exportSettleDetails",
    exportUrl2: "bus/bod/export2",
    remove: "bus/bod/remove"
  },
  //发货信息
  bos: {
    get: "bus/bos/get",
    add: "bus/bos/save",
    update: "bus/bos/update",
    remove: "bus/bos/remove"
  },
  custom: {
    areaList: "bus/custom/areaList"
  },
  //结算信息
  customSettle: {
    page: "bus/customSettle/page",
    list: "bus/customSettle/list",
    get: "bus/customSettle/get",
    exportUrl: "bus/customSettle/export",
    add: "bus/customSettle/save",
    hexiao: "bus/customSettle/hexiao",
    update: "bus/customSettle/update",
    remove: "bus/customSettle/remove"
  },
  //部门
  dept: {
    list: "bus/dept/list",
    get: "bus/dept/get"
  },
  //客户地址
  customAddress: {
    list: "bus/bca/list",
    add: "bus/bca/save"
  },
  //客户回款
  bocr: {
    page: "bus/bocr/page",
    list: "bus/bocr/list",
    get: "bus/bocr/get",
    createSettle: "bus/bocr/createSettle",
    add: "bus/bocr/save",
    update: "bus/bocr/update",
    remove: "bus/bocr/remove"
  },
  supplier: {
    list: "bus/supplier/list"
  },
  //垫付款
  supplierBond: {
    page: "bus/supplier/bond/page",
    list: "bus/supplier/bond/list",
    get: "bus/supplier/bond/get",
    add: "bus/supplier/bond/save",
    getByOrderId: "bus/supplier/bond/getByOrderId",
    update: "bus/supplier/bond/update",
    remove: "bus/supplier/bond/remove"
  },
  //供货方银行
  supplierBank: {
    list: "bus/supplier/bank/list",
    add: "bus/supplier/bank/save",
    getBankInfo: "bus/supplier/bank/getBankInfo",
    getBank: "bus/supplier/bank/getBank"
  },
  //市场结算账户
  salemanBank: {
    list: "bus/bsb/list"
  },
  //资金支付单
  payment: {
    page: "bus/payment/page",
    list: "bus/payment/list",
    get: "bus/payment/get",
    listByOrderId: "bus/payment/listByOrderId",
    initSettlePayment: "bus/payment/initSettlePayment",
    getPrintInfo: "bus/payment/getPrintInfo",
    updatePrintTag: "bus/payment/updatePrintTag",
    add: "bus/payment/save",
    update: "bus/payment/update",
    remove: "bus/payment/remove"
  },
  saleman: {
    list: "bus/saleman/list",
    add: "bus/saleman/save"
  },
  //开票单位
  invoiceunit: {
    list: "bus/invoiceunit/list",
    invoiceType: [{ label: "普票", value: 1 }, { label: "专票", value: 2 }]
  },
  //开票税金收款账户
  bib: {
    list: "bus/bib/list",
    add: "bus/bib/save"
  },
  //计算公式
  formula: {
    list: "system/formula/list"
  },
  tasktodo: {
    complete: "bpm/task/complete"
  }
}
export default api